const teacher = {
  state: {
    user: {},
    token: '',
    title: '',
    showTitle: false,
    share: false,
    avatar: ''
  },
  mutations: {
    SET_TEACHER: (state, user) => {
      state.user = user
    },
    SET_TOKEN: (state, token) => {
      state.token = token
    },
    SET_TITLE: (state, title) => {
      state.title = title
    },
    SET_SHOWTITLE: (state, show) => {
      state.showTitle = show
    },
    SET_SHARE_TEACHER: (state, share) => {
      state.share = share
    },
    SET_AVATAR: (state, avatar) => {
      state.avatar = avatar
    }
  },
  actions: {
    // teacherLogin () {}
  }
}

export default teacher
